<#include "/macro/base.ftl" />
<div class="pageContent">
	<form method="post" action="${base}/sys/sysInterfaceMessage/update" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="58">
			<input name="id" value="${ bean.id?c!}" type="hidden"/>
				<p>
					<label>服务器：</label>
					<input name="smsServerUrl"  class="required" type="text" size="20" value="${ (bean.smsServerUrl)!}" placeholder="请输入服务器"/>
				</p>
				<p>
					<label>用户名：</label>
					<input name="smsUsername"  class="required" type="text" size="20" value="${ (bean.smsUsername)!}" placeholder="请输入用户名"/>
				</p>
				<p>
					<label>密码：</label>
					<input name="smsPassword"  class="required" type="text" size="20" value="${ (bean.smsPassword)!}" placeholder="请输入密码"/>
				</p>
				<p>
					<label>KEY：</label>
					<input name="smsKey"  class="required" type="text" size="20" value="${ (bean.smsKey)!}" placeholder="请输入KEY"/>
				</p>
				<p>
					<label>状态：</label> 
					<!-- <input name="status" min="1" max="2"  class="required" type="text" size="20" 
					value="${ (bean.status)!}" placeholder="请输入状态 1禁用 2启用"/> -->
					
					<label><input type="radio" name="status" <#if bean.status! == '1'>checked="checked"</#if> value="1"/>禁用</label>
					<label><input type="radio" name="status" <#if bean.status! == '2'>checked="checked"</#if> value="2"/>启用</label>		
				</p>
				<p>
					<label>邮件服务器地址：</label>
					<input name="emailServerUrl"  class="required" type="url" size="20" value="${ (bean.emailServerUrl)!}" placeholder="请输入邮件服务器地址"/>
				</p>
				<p>
					<label>用户名：</label>
					<input name="emailUsername"  class="required" type="text" size="20" value="${ (bean.emailUsername)!}" placeholder="请输入用户名"/>
				</p>
				<p>
					<label>密码：</label>
					<input name="emailPassword"  class="required" type="text" size="20" value="${ (bean.emailPassword)!}" placeholder="请输入密码"/>
				</p>
				
				<!--
				<p>
					<label>创建者：</label>
					<input name="createUser"  class="required" type="text" size="20" value="${ (bean.createUser)!}" placeholder="请输入创建者"/>
				</p>
				<p>
					<label>创建时间：</label>
					<input name="createDate" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" class="required date textInput readonly" type="text" size="20" value="${ (bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="请输入创建时间"/>
					<a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				<p>
					<label>修改者：</label>
					<input name="updateUser"  class="required" type="text" size="20" value="${ (bean.updateUser)!}" placeholder="请输入修改者"/>
				</p>
				<p>
					<label>修改时间：</label>
					<input name="updateDate" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" class="required date textInput readonly" type="text" size="20" value="${ (bean.updateDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="请输入修改时间"/>
					<a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				-->
				
				<p>
					<label>备注：</label>
					<input name="remark"  class="required" type="text" size="20" value="${ (bean.remark)!}" placeholder="请输入备注"/>
					<texta
				</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
</div>
